/***************
 * 试卷相关接口
 */
import request from '@/http/index.js'
// 获取所所有试卷列表
export const getPaperList = () => {
    return request({
        url: '../json/exam/paperList.json',
        method: 'get',
    })
}
// 获取试卷的详细信息
export const getPaperDetail = () => {
    return request({
        url: '../json/exam/paperDetail.json',
        method: 'get',
    })
}
// 试卷的结构分心信息
export const getPaperStructure = () => {
    return request({
        url: '../json/exam/paperAnalysis.json',
        method: 'get',
    })
}
// 试卷详--试卷wod格式导出

export const getPaperInfo = () => {
    return request({
        url: '../json/exam/setPaperDetail.json',
        method: 'get',
    })
}
// 批阅试卷列表的数据接口

export const getPaperReviewData = () => {
    return request({
        url: '../json/exam/reviewData.json',
        method: 'get',
    })
}
// 批阅试卷试卷详情

export const getReviewPaperDetailData = () => {
    return request({
        url: '../json/exam/reviewPaperDetail.json',
        method: 'get',
    })
}
// 批阅试卷时学生的答题卡信息
export const getStudentAnswersData = () => {
    return request({
        url: '../json/exam/paperStudentInfo.json',
        method: 'get',
    })
}

//按题目批阅试卷
export const reviewByQuestion = () => {
    return request({
        url: '../json/exam/reviewbyque.json',
        method: 'get',
    })
}
//按题目批阅试卷对应学生的答题卡信息

export const reviewByQuestionStudentData = () => {
    return request({
        url: '../json/exam/reviewByQueStudentIon.json',
        method: 'get',
    })
}

// 按题目批阅试卷 查看每道题目学生的作答情况
export const getDetailedStatistics = () => {
    return request({
        url: '../json/exam/detailedStatistics.json',
        method: 'get',
    })
}
export const getStudentSubAnswers = () => {
    return request({
        url: '../json/exam/studentSubAnswers.json',
        method: 'get',
    })
}
//获取修改试卷的试卷内容
export const getPaperAllContent = () => {
    return request({
        url: '../json/exam/editPaper.json',
        method: 'get',
    })
}

